package com.woniuxy.classteacher.service;

import com.woniuxy.commons.entity.wyh.TeacherInfo;
import org.springframework.stereotype.Repository;

/**
 * @Auther: 牟强
 * @Date: 2020/8/1/001 10:17
 * @Description: 教师业务逻辑层
 */
@Repository
public interface TeacherService {
    /**
     * @Author: 牟强
     * @Date: 2020/8/1/001 15:55
     * @Description: 修改教师密码
     * @Param: [originPwd, newPwd, affirmPwd, refreshToken]
     * @return: void
     */
    public void alterTeacherPwd(String originPwd, String newPwd, String affirmPwd, String code, int rId);

    /**
     * @Author: 牟强
     * @Date: 2020/8/1/001 15:56
     * @Description: 发送验证码
     * @Param: []
     * @return: void
     */
    public void sendAuthCode(int rId);

    /**
     * @Author: 牟强
     * @Date: 2020/8/1/001 16:25
     * @Description: 初始化修改密码界面
     * @Param: []
     * @return: com.woniuxy.commons.entity.wyh.TeacherInfo
     */
    public TeacherInfo initUptatePwd(String refreshToken);
}
